// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import request from '@/libs/request';

/**
 * @description 列表列表
 * @param {Object} param data {Object} 传值参数
 */
export function list(data) {
  return request({
    url: '/driver/driver/list',
    method: 'get',
    params: data,
  });
}


/**
 * @description 会员列表
 * @param {Object} param data {Object} 传值参数
 */
export function list_vip(data) {
  return request({
    url: '/driver/driver/list_vip',
    method: 'get',
    params: data,
  });
}

/**
 * @description 列表列表
 * @param {Object} param data {Object} 传值参数
 */
export function update(id,type,msg) {
  return request({
    url: `/driver/driver/update/${id}/${type}`,
    method: 'get',
    params: {
		'msg':msg
	},
  });
}
